package com.zqf.shiro.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zqf.shiro.pojo.UserRole;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zqf.shiro.mapper.UserRoleMapper;

import java.util.Set;

/**
 * @Author zqf
 * @Date 2022/12/16 10:02
 * @Description: $description
 */
@Service
public class UserRoleService extends ServiceImpl<UserRoleMapper, UserRole> {

    @Resource
    private UserRoleMapper userRoleMapper;

    public Set<String> queryUserRoles(Long id) {
        return userRoleMapper.queryUserRoles(id);
    }
}
